<!-- 修改密码 Modal -->
<div class="modal fade" id="changePwdModal" tabindex="-1" aria-labelledby="changePwdLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered modal-sm">
    <form id="change-pwd-form" class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="changePwdLabel"><i class="bi bi-key-fill me-2"></i>修改密码</h5>
        <span id="changePwdError" class="text-danger ms-3" style="display:none;font-size:0.9rem;"></span>
        <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
      </div>
      <div class="modal-body">
        <div class="mb-2">
          <label class="form-label">原密码</label>
          <input name="old_password" type="password" class="form-control" required>
        </div>
        <div class="mb-2">
          <label class="form-label">新密码</label>
          <input name="new_password" type="password" class="form-control" required>
        </div>
        <div class="mb-2">
          <label class="form-label">确认密码</label>
          <input name="confirm" type="password" class="form-control" required>
        </div>
      </div>
      <div class="modal-footer">
        <button id="change-pwd-submit" type="submit" class="btn btn-primary">保存</button>
        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
      </div>
    </form>
  </div>
</div>
